package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.AppVersionEntity;
import cn.mumzone.pos.model.BannerEntity;

/**
 * Created by qiuzhenhuan on 2019/7/12.
 */

public interface HomeContract {


    interface View extends BaseView {

        void showCheckAppUpdate(AppVersionEntity result);

        void showBannerList(List<BannerEntity> banners);

        void showMoreViewChanged(int type);

        void onDownloadingProgress(int progress);

        void onDebugModeOpened();
    }


    interface Presenter extends BasePresenter<View> {


        void checkAppUpdate();

        void initEvents();

        void requestBannerList();

        void doSaveVersion(String version);

        void setDownloadingListener();
    }
}
